package com.ywd.materials.admin.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * YWD
 * 2025/11/12
 */
@Accessors(chain = true)
@Data
public class MaterialsWarehouseDto implements Serializable {
    /**
     * 仓库ID
     */
    @Schema(description = "仓库ID, 修改必传")
    private Long id;
    /**
     * 父级仓库ID
     */
    @Schema(description = "父级仓库ID")
    private Long pid;
    /**
     * 租户ID
     */
    @Schema(description = "租户ID",hidden = true)
    private Long tenantId;
    /**
     * 仓库名称
     */
    @Schema(description = "仓库名称")
    private String name;
    /**
     * 所属省市区域
     */
    @Schema(description = "所属省市区域",hidden = true)
    private String area = "雅安市";
    /**
     * 仓库所属等级(0=市本级, 1=区县级, 2=乡镇级, 3=村点级)
     */
    @Schema(description = "仓库所属等级(0=市本级, 1=区县级, 2=乡镇级, 3=村点级)")
    private String gradeValue;
    /**
     * 级别备注
     */
    @Schema(description = "级别备注")
    private String gradeText;

    /**
     * 版本号
     */
    @Schema(description = "版本号",hidden = true)
    private Integer version;

    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;

    /**
     * 地址
     */
    @Schema(description = "地址")
    private String addr;

    /**
     * 仓库二维码URL
     */
    @Schema(description = "仓库二维码URL",hidden = true)
    private String qrCode;

    /**
     * 状态(0=停用,1=正常)
     */
    @Schema(description = "状态(0=停用,1=正常)")
    private Integer status;

    /**
     * 创建者
     */
    @Schema(description = "创建者",hidden = true)
    private Long creator;
    /**
     * 更新者
     */
    @Schema(description = "更新者",hidden = true)
    private Long updater;


}
